<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
   xmlns:f="http://java.sun.com/jsf/core"
   xmlns:h="http://java.sun.com/jsf/html"
   xmlns:ui="http://java.sun.com/jsf/facelets">
<head><title>Listado de cursos</title></head>
<body>

<h1>Registro nuevo alumno</h1>

<h:messages> </h:messages>
<h:form>
Nombre:
<h:inputText value = "#{alumnoBean.alumno.nombre}"></h:inputText>
Apellidos:
<h:inputText value = "#{alumnoBean.alumno.apellidos}"></h:inputText>
Curso:
<h:selectOneMenu value = "valordeprueba">
	<f:selectItems value = "#{alumnoBean.cursos}"
	itemLabel = "#{curso.nombre}"  itemValue="#{curso}" var = "curso">
	</f:selectItems>
</h:selectOneMenu>
	<h:commandButton value="Guardar" action="#{alumnoBean.guardarAlumno}"  />
</h:form>


</body>
</html>